package com.example.studyPlatform.bean;

import lombok.Getter;
import lombok.Setter;

import java.sql.Timestamp;

@Getter
@Setter
public class Comment {
    Integer id,postId;
    String author;
    String email;
    String ipAddress = "127.0.0.1";
    String authorUrl;
    String gravatarMd5;
    String content;
    String status = "PUBLISHED";
    String userAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0";
    Integer parentId = 0;
    Boolean isAdmin = false;
    Boolean allowNotification = true;
    Timestamp createTime = new Timestamp(System.currentTimeMillis());
    String avatar;
    String children = null;
}